package com.kukudb.asaproject.serveice.interfaceTemp;

import com.kukudb.asaproject.pojo.CardKeys;
import com.kukudb.asaproject.pojo.paramsDto.CreateCardKeysDto;
import com.kukudb.asaproject.pojo.paramsDto.UserCardKeyDto;
import com.kukudb.asaproject.pojo.resultDto.UseCardKeyDto;

import java.util.List;

public interface CardKeysInterface {

     List<CardKeys> createCardKeys(CreateCardKeysDto createCardKeysDto);

    List<CardKeys> getCardKeys(Integer userId);

    List<CardKeys> getAllCardKeys();

    UseCardKeyDto useCardKeys(UserCardKeyDto userCardKeyDto, Integer userId);

    void deleteCardKeys(Integer userId);

    void deleteAllCardKeys();

    void addUsedCont(Integer userId, int i);
}
